package com.itheima.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import java.util.List;

/*
 *@Parm
 *@ClassName AssignDto
 *@Date 2022/1/18 11:30
 */
@Data
@ApiModel("分配商机")
public class AssignDto<T> {
    @ApiModelProperty("部门id")
    private Long id;

    @ApiModelProperty("部门名")
    private String label;

    @ApiModelProperty("部门id")
    private List<T> children;
}
